<?php echo form_open('home/test'); ?>
<input type="text" name="username" />
<input type="password" name="password" >
<input type="submit" name="submit" value="submit" />
<?php echo form_close(); ?>